class AddVotesToLinks < ActiveRecord::Migration
  def self.up
      add_column :links, :up_votes, :integer, :default => 0
      add_column :links, :down_votes, :integer, :default => 0
      add_column :links, :total_votes, :integer, :default => 0
  end

  def self.down
      remove_column :links, :up_votes
      remove_column :links, :down_votes
      remove_column :links, :total_votes
  end
end
